<nav class="navbar navbar-default navbar-top" role="navigation" ng-controller="topNavbarController">
  <div class="container">
    <div class="navbar-header">
      <a class="navbar-brand" href="#"><b ng-bind="app.name" ng-cloak></b></a>
    </div>
    <ul class="nav navbar-nav navbar-right">
      <li>
      	<a class="user-img">
      		<img ng-show="app.man" src="img/user/man.jpg" width="30px">
      		<img ng-show="!app.man" src="img/user/woman.jpg" width="30px">
      		<span class="icon-left-5" ng-bind="app.username" ng-cloak></span>
      	</a>
      </li>
      <li><a ng-click="logout()"><span class="fa fa-sign-out icon-right-5"></span>登出</a></li>
    </ul>
  </div>
</nav>
<script type="text/javascript" src="pages/topNavbar.js"></script>